.SUFFIXES: .asm
asms :=  $(patsubst %.asm,%.bin,$(wildcard *.asm))
	
all:	$(asms)
%.bin : %.asm
	gcc -x c $< -o $@
% : %.asm
	gcc -x c $< -o $@

clean:
	rm *.asm *.bin

